<template>
  <div class="search">
    <van-search v-model="value" placeholder="团团号内搜" @search="onSearch" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      value: "",
    };
  },
  methods: {
    onSearch(val) {
      this.$toast(val);
    },
  },
};
</script>

<style scoped lang="scss">
::v-deep .van-search {
  background-color: #ccc;
}
::v-deep .van-field__left-icon {
  margin-right: 10px;
}
</style>